export default [
  {
    name: "Marketing/workbench",
    path: "/marketing/workbench",
    hidden: false,
    redirect: "noRedirect",
    component: "Layout",
    alwaysShow: true,
    meta: {
      title: "工作台",
      icon: "client",
      noCache: false,
      link: null,
    },
    children: [
      {
        name: "Index",
        path: "index",
        hidden: false,
        component: "marketing/workbench/index",
        meta: {
          title: "首页",
          icon: "client",
          noCache: false,
          link: null,
        },
      },
    ],
  },
  {
    name: "Marketing/customer",
    path: "/marketing/customer",
    hidden: true,
    redirect: "noRedirect",
    component: "Layout",
    alwaysShow: true,
    meta: {
      title: "客户中心",
      icon: "log",
      noCache: false,
      link: null,
    },
    children: [
      {
        name: "Index",
        path: "index",
        hidden: false,
        component: "marketing/custom/index",
        meta: {
          title: "客户管理",
          icon: "user",
          noCache: false,
          link: null,
        },
      },
      {
        name: "Credit",
        path: "credit",
        hidden: false,
        component: "marketing/custom/credit",
        meta: {
          title: "授信管理",
          icon: "logininfor",
          noCache: false,
          link: null,
        },
      },
      {
        name: "AllowSell",
        path: "allowSell",
        hidden: false,
        component: "marketing/custom/allowSell",
        meta: {
          title: "允销管理",
          icon: "cascader",
          noCache: false,
          link: null,
        },
      },
    ],
  },
  {
    name: "Material",
    path: "/marketing/material",
    hidden: false,
    redirect: "noRedirect",
    component: "Layout",
    alwaysShow: true,
    meta: {
      title: "物料中心",
      icon: "client",
      noCache: false,
      link: null,
    },
    children: [
      {
        name: "Material",
        path: "index",
        hidden: false,
        component: "marketing/material/index",
        meta: {
          title: "物料管理",
          icon: "form",
          noCache: false,
          link: null,
        },
      },
    ],
  },
  {
    name: "Marketing/goods",
    path: "/marketing/goods",
    hidden: false,
    redirect: "noRedirect",
    component: "Layout",
    alwaysShow: true,
    meta: {
      title: "商品中心",
      icon: "color",
      noCache: false,
      link: null,
    },
    children: [
      {
        name: "Index",
        path: "index",
        hidden: false,
        component: "marketing/goods/index",
        meta: {
          title: "商品管理",
          icon: "dict",
          noCache: false,
          link: null,
        },
      },
      {
        name: "Inventory",
        path: "inventory",
        hidden: false,
        component: "marketing/goods/inventory",
        meta: {
          title: "商品库存",
          icon: "tab",
          noCache: false,
          link: null,
        },
      },
    ],
  },
  {
    name: "Marketing/order",
    path: "/marketing/order",
    hidden: false,
    redirect: "noRedirect",
    component: "Layout",
    alwaysShow: true,
    meta: {
      title: "订单中心",
      icon: "online",
      noCache: false,
      link: null,
    },
    children: [
      {
        name: "Index",
        path: "index",
        hidden: false,
        component: "marketing/order/index",
        meta: {
          title: "检测样品申请管理",
          icon: "tool",
          noCache: false,
          link: null,
        },
      },
      {
        name: "Limit",
        path: "limit",
        hidden: false,
        component: "marketing/order/limit",
        meta: {
          title: "额度赊销申请管理",
          icon: "log",
          noCache: false,
          link: null,
        },
      },
    ],
  },
  {
    name: "Marketing/finance",
    path: "/marketing/finance",
    hidden: false,
    redirect: "noRedirect",
    component: "Layout",
    alwaysShow: true,
    meta: {
      title: "财务中心",
      icon: "color",
      noCache: false,
      link: null,
    },
  },
];
